package me.atbar.moonlib.area.event;

import lombok.Getter;
import org.bukkit.entity.Player;
import org.bukkit.event.Event;
import org.bukkit.event.HandlerList;

/**
 * @author Administrator
 */
public class AreaCreateEvent extends Event {

    private static final HandlerList HANDLERS = new HandlerList();
    @Getter
    private Player player;

    public AreaCreateEvent(Player player) {
        this.player = player;
    }

    @Override
    public HandlerList getHandlers() {
        return HANDLERS;
    }

    public static HandlerList getHandlerList() {
        return HANDLERS;
    }

}
